package com.niit.common.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 统一页面跳转管理
 * @author yaojianfeng
 */
@Controller
@RequestMapping("/page")
public class PageController {

    @RequestMapping("/studentInfo20")
    public String studentInfo20() {
        return "studentInfo20";
    }

    @RequestMapping("/ajaxTest")
    public String ajaxTestPage() {
        return "ajaxTest";
    }

    @RequestMapping("/exceptionTest")
    public String exceptionTest() {
        return "exceptionTest";
    }

    @RequestMapping("/ssm")
    public String ssmPage() {
        return "ssmDemo";
    }
    @RequestMapping("/rest")
    public String restIndex() {
        return "restIndex";
    }

    @RequestMapping("/index")
    public String index(){
        return "index";
    }

    @RequestMapping("/login")
    public String loginPage() {
        return "login";
    }
}
